package org.u2ml.app.business;

import java.util.Collection;
import java.util.List;

import org.u2ml.app.domain.Oid;
import org.u2ml.app.domain.Project;
import org.u2ml.app.domain.ProjectClass;

public interface ProjectClassService {
	
	public List<ProjectClass> get();
	public List<ProjectClass> getByProject(Project project);
	public ProjectClass find(Long oid);
	public ProjectClass findByName(String name);
	public ProjectClass save(ProjectClass c);
	public ProjectClass update(ProjectClass c);
	public void delete(ProjectClass c);
	/*
	public boolean isParent(Long oidA, Long oidB);
	public void addParent(Long oidA, Long oidB);
	public void removeParent(Long oidA, Long oidB);
	public Collection<Oid> getParents(Long oid);
	*/
}
